// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "Data/MissionStruct.h"
#include "LocationObjectivesWidget.generated.h"

class USingleObjectiveHintWidget;
class USingleHintWidget;
UCLASS()
class MISCELLANEOUSPROJECT_API ULocationObjectivesWidget : public UUserWidget
{
	GENERATED_BODY()
public:
	void ConstructWidget(TSubclassOf<USingleObjectiveHintWidget> LSingleObjectiveHintWidget, TSubclassOf<USingleHintWidget> LSingleHintWidget);
	void UpdateLocationObjectives(FLocationObjectiveMaster LLocationObjective);
	USingleObjectiveHintWidget* FindInObjectiveList(FText ObjectiveTitle);
public:
	UPROPERTY(meta = (BindWidget))
	class UVerticalBox* ObjectiveList;
	FLocationObjectiveMaster LocationObjective;
	TArray<USingleObjectiveHintWidget*> ObjectivesList;
	UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ExposeOnSpawn = "true"), Category = "Default")
	TSubclassOf<USingleObjectiveHintWidget> SingleObjectiveHintWidget;
	UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ExposeOnSpawn = "true"), Category = "Default")
		TSubclassOf<class USingleHintWidget> SingleHintWidget;
};
